home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!gibson
- From: gibson@netcom.com (Bob Gibson)
- Subject: Re: READ THIS!!!!!!!!!!!
- Message-ID: <gibsonDM0rEt.Cqu@netcom.com>
- Organization: A number of persons or groups united for some purpose
- X-Newsreader: TIN [version 1.2 PL1]
- References: <4em5fs$a86@ixnews4.ix.netcom.com>
- Date: Wed, 31 Jan 1996 00:16:04 GMT
- Sender: gibson@netcom3.netcom.com
-
- Jeremy Johnston (jeremyx@ix.netcom.com) wrote:
-
- : ok....now that I have your attention i need some help.
- : I can't get the following command to work & the compiler says that the
- : constant has too many characters.
-
- : char dos;
- : if(dos=='dir')
- : goto b;
-
- : How can i do this to get it to work? please help,I know you can.
-
- Uhhh. You promised that the variable named dos would be a single
- character. So far, so good. However, the comparison is trying to
- compare a single character to a character constant with 3 characters
- in it. In addition, you have a goto. Why don't you trying reading
- some intorductory programming book???
-
-
-
- --
- O.J. Verdict - The best innocence money can buy
-
- Bob Gibson -- gibson@netcom.com
-